package io.finer.erp.jeecg.finance.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: 收款表
 * @Author: jeecg-boot
 * @Date:   2021-03-22
 * @Version: V1.0
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="fina_receipt对象", description="收款表")
public class FinaReceiptSKVo implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
//    @ApiModelProperty(value = "主键")
    private String id;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**单据编号*/
    @Excel(name = "单据编号", width = 25)
    @ApiModelProperty(value = "单据编号")
    private String code;
    /**收款日期*/
    @Excel(name = "收款日期", width = 15, format = "yyyy-MM-dd")
    @ApiModelProperty(value = "收款日期")
    private Date receiveTime;
	/**客户名称*/
	@Excel(name = "客户名称", width = 30)
    @ApiModelProperty(value = "客户名称")
    private String customerName;
	/**客户id*/
//	@Excel(name = "客户id", width = 15)
    @ApiModelProperty(value = "客户id")
    private String customerId;
    /**结算方式*/
    @Excel(name = "结算方式", width = 15, dicCode = "clearingForm")
    @ApiModelProperty(value = "结算方式")
    @Dict(dicCode = "clearingForm")
    private String clearingForm;
	/**金额*/
	@Excel(name = "金额", width = 15)
    @ApiModelProperty(value = "金额")
    private BigDecimal price;
	/**平账金额*/
    @Excel(name = "折扣金额", width = 15)
    @ApiModelProperty(value = "折扣金额")
    private BigDecimal discountPrice;
	/**备注*/
	@Excel(name = "备注", width = 30)
    @ApiModelProperty(value = "备注")
    private String remark;
    /**核销状态*/
//    @Excel(name = "核销状态", width = 15, dicCode = "hxStatus")
    @ApiModelProperty(value = "核销状态")
    @Dict(dicCode = "hxStatus")
    private String hxType;
    /**核销金额*/
//    @Excel(name = "核销金额", width = 15)
    @ApiModelProperty(value = "核销金额")
    private BigDecimal hxPrice;
    
    
    private String cashType;
    private String customerCashType;

}
